package netty.http.xml.codec;

import io.netty.handler.codec.http.FullHttpResponse;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @program JavaBase
 * @description:
 * @author: zhanglu
 * @create: 2021-10-28 11:46:00
 */
@Data
@Accessors(chain = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class HttpXmlResponse {

    private FullHttpResponse httpResponse;
    /**
     * result的格式：
     *  - 请求解码：xmlStr -> jsonStr
     *  - 响应编码：jsonStr -> xmlStr
     */
    private String result;


}
